package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysYongyouQtck;
import org.apache.ibatis.annotations.Param;

/**
 * 其他出库Mapper接口
 * 
 * @author SYF
 * @date 2025-04-18
 */
public interface SysYongyouQtckMapper 
{
    /**
     * 查询其他出库
     * 
     * @param vouchdate 其他出库主键
     * @return 其他出库
     */
    public SysYongyouQtck selectSysYongyouQtckByVouchdate(String vouchdate);

    /**
     * 查询其他出库列表
     * 
     * @param sysYongyouQtck 其他出库
     * @return 其他出库集合
     */
    public List<SysYongyouQtck> selectSysYongyouQtckList(SysYongyouQtck sysYongyouQtck);

    /**
     * 新增其他出库
     * 
     * @param sysYongyouQtck 其他出库
     * @return 结果
     */
    public int insertSysYongyouQtck(SysYongyouQtck sysYongyouQtck);

    /**
     * 修改其他出库
     * 
     * @param sysYongyouQtck 其他出库
     * @return 结果
     */
    public int updateSysYongyouQtck(SysYongyouQtck sysYongyouQtck);

    /**
     * 删除其他出库
     * 
     * @param vouchdate 其他出库主键
     * @return 结果
     */
    public int deleteSysYongyouQtckByVouchdate(String vouchdate);

    /**
     * 批量删除其他出库
     * 
     * @param vouchdates 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysYongyouQtckByVouchdates(String[] vouchdates);

    public int deleteByDateRange(@Param("vouchdate") String startDate);
}
